From 9ce0d9b8e1c05844372c841cfc9e330e15a5f769 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 23 Apr 2001 14:58:12 +0000 Subject: [PATCH] (compute_char_face): If buffer is unibyte, set CH to zero instead of -1. --- src/xfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfaces.c b/src/xfaces.c index 24f4c8406e3..8433460b47f 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -6569,7 +6569,7 @@ compute_char_face (f, ch, prop) int face_id; if (NILP (current_buffer->enable_multibyte_characters)) - ch = -1; + ch = 0; if (NILP (prop)) { -- 2.30.2